<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表格示例</title>
    <style>
        /* 设置表格样式 */
        table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            font-family: Arial, sans-serif;
        }

        /* 设置表头样式 */
        th {
            background-color: #f2f2f2;
            color: #333;
            font-weight: bold;
            padding: 10px;
            text-align: left;
            border: 1px solid #ddd;
        }

        /* 设置表格单元格样式 */
        td {
            padding: 10px;
            border: 1px solid #ddd;
        }

        /* 设置表格行的交替背景色 */
        tr:nth-child(even) {
            background-color: #f9f9f9;
        }

        /* 鼠标悬停时改变行背景色 */
        tr:hover {
            background-color: #f1f1f1;
        }
    </style>
</head>
<body>

<table>
    <thead>
    <tr>
        <th>编号</th>
        <th>姓名</th>
        <th>密码</th>
    </tr>
    </thead>
    <tbody>


    </tbody>
</table>

</body>
</html>